Unresolved variable fixed