added warning to index