rbm some small adjustments