corrected a profile photo bug