modify the textobj to let it all can work in windows