fixes for continuous variable in NB