fix admin can't package bug.