Call fetchall instead of index