fix for bug where all tasks fields were getting cleared out