fixed all constraints.