Fixed queue error
Merge pull request #48 from tomdepplito/fix_error

Fixed queue error