Corrected code

Forgot to reduce queue walue