Replace some util.splits with gmatch and match