fixing myVar error