debug: wrong gradient of backward propogation