minor bug fix for NaVar