fix rewrite problem
fix rewrite problem