couldn't execute deals query