handling problems in image saving