fixed a typo in a variable namex