Fixed bug for Worker