getting rid of extra pairs
getting rid of tps content