Solving error in the admin