remove typo
fix index not found issue