fix admin controller redirect bug