solve the bug that catagory and user can't be create