get division query fix