fix rbm to nn to be w,b