fix uploaded images