updated inline var to haxe 3