fix the visibility of admin menu