fix profile edit bug