remove extra  whitespace before ':'