fix bug and version 1.0