update version to 1.0.2, fix bug