fixed timing bug in htlm-plugin

It was just a typo.