Fix broken assignments.