fixing wrong var name