Bug fix. Trying to index object.