changed method of removing characters from ti,abs,etc.