fix string errors
remove trailing whitespace