remove trailing colons