fixed bug in table_user