avoid redirect which loses the fragment in IE