Bumped version to 1.2.2 with undefined fix