rawquery add when rewrite