BUG: col and row names should check for None and length