bug fix for the admin menu