fix index methods