Fix redirect url bug on Opera