adjust Std.instance to Haxe changes