fixed: change the behavior of drawBin and drawOrder