Fix to handle passing empty $tokenValue to useToken method