Correcting uploaded image