Version 1.1

Fixed some bugs.