some backpropagation fixes