estimate lines bug fixed