Fix for variable assignment error.