Fixed bug in Worker interface