fixed subtle bug in html task related to new interface for useref