nullOpt bugfix