fixed rewrite