Fixing bugs reduce size of images