fix pp redirect