added index. error notification changed