Try setting referrer to nil before redirect