correct image type