Trying to fix a problem with upload image