getter works in empty index case