fix bug caused by invalid queue values
0.0.6