blob: move check routines to separate function
index: check index validity on start