changed Std.instance definition (close #2534)