fix all the bugs, builded version 1.0