Remove extra whitespace in prompt