worker fixes when saving results