fixed Task persisting