preserving get parameters on redirect