make suitable for haxe translation