update to version 1.0.2, fix bugs, make it work