minor fix for haxe3

minor fix for haxe3