fixed illnamed variables