remove extra spaces in info message