fix erroneus variable name