fix bug in user module