Fix rewrite and text errors