purge any trailing whitespace that has crept in