fix NullPointer
change version to 1.2.2