image uploading issue fixes