remove whitespaces and colons