modify and fix admin open error.