fixed backprop convergence problem