Fix generation going from wrong point