fix saving worker in callback