Fixed the naming of variables