fixed bug when splitting on ^