* Fixed some bugs.