fixes workers queue
fixes #4 #5