bug fix hhopen