Bugfix

fixes tasks persistence