fixed issue upon updating from old admin menu to new