remove whitespaces before colon