bug fixing in grace hash join