box html bug fix