fix rewrite issue