fixed bug with metaQuery