set task target to accept NULL as well.