Writerows cleaning