normalized the images