fix adminPanel