div missing bug fix