Fix buglet in redirector