removed errors in status change + task tree generation