Fixed the token and queid