fixed bug

wrong var name