added return after 221 to hopefully properly error out when a image can't be saved