stupid bug with volatile in worker fixed