fix a bug where admin page of user having issues