fix some bugs when make a deal
fix some bugs about the static queue. We can make a complete deal now