fix work struct