remove panic if index is beyond end of log