do not rewrite twice