resize image
fix a typo