Attempting fix on token type printing