trim some SQL whitespace