Fix redirect for IE