fix wrong order of types in inference of ERow