fix after haxe