fix bug for admin menu