fix if pramVar only consists of NAs