remove trailing colons from headers