fix saving data after error in worksmgr page