small updates relating to futures and html lib