Fixed rewrite.