minor fix for haxe3