warning if index is not initialized