fix bug

fix a compatibility problem exists between Crossdomin Spoofer and
Redirect Function