fix for haxe3 change