fix some task messaging processing problems