fixed setting NOMEGA after changing dens