removed dead code from token