Fixes typo and removes trailing whitespace