Update Worker.java

minor fixes