better handle row spacings