fix profile-settings image upload bug