fix https://github.com/cellnopt/CellNOptR/issues/3