Solving problem with image error