fix bug in userdao