fixed typo in Activity.toHTML()