fix a bug in user page