removing useless tokens