add new delegate callback to inform about invalid indices