removed filter clause from variables query