update to v1.2.2 with bug fixed