fixed bug with max amount of queries on transit