Fix redirect usage