get rid of ugly trailing spaces