fix profile photo bug