make compatible with haxe3