fix admin login redirect error