Fix Error with Trailing Spaces