Fixing bugs related to column highlighting and variable extraction