fixed bug in user pages