fix variable names in plots