ideal webhook query fix