fix bugs

fix bugs of version 1.0