cleaned up the compile text locator.