fix refactoring of modOptsList