Fix issue with admin model