remove whitespaces before colons