remove newlines and stuff