stacktrace added (not used); TasksFactory fixed