fixed token comparison