Correct typo error in check_image