updated normalize in image_helper.py