fixed closed classes queue
Merge pull request #203 from apatel/master

fixed closed classes queue