fix admin file redirect