fix div bug