Fixed small bug in worker server