fix zero domain length