Fix div bug