fixed improper regex on split