rewrite warning