bug fixes in nstar