fixed a number of illnamed variables