fix admin js bug