format some old code, :a => b to a: b