incrementing version to 1.2.2 and fixing check on save_post