added a simple whitespace filter