fix a bug when author role updating their profile