cleanup NB