fix div overflow bug