fixed last variable names in the GUI