dimnames elements become vector