fix critical bug on user pages.