profile image upload bug fix