clear code in tasks module