fixes index method name