fix queue bug
Merge pull request #144 from ideawu/master

fix queue bug