solve image uploader problem