improve RAZF index header checking