update opamhtml: attempt to remove duplication!