small fixes under maodels and admin