- fixing new task event listener constructor