adapt to new Haxe bind restriction