fixes when load the images