fix user photo upload