ported: html brief template fix