fix problem with WARES section index