fixed rownames and zero-length-names checks