more RERR bugfixes