Fixing variable assignment.