fixed a admin redirect error