handle index missing