Fix bug with admin