bug fixe in image size