fixed bug with no query map