backpropagation fixes