Fixed unresolved variable