rewrite Fail