debug new nn derivatives and cb