portals - fixed index in 008 format detection