Fix: a couple of minor bugs for related to tasklets.