corrected bug when adding new task to randans object