Fixed issue with Deferred worker