fix pooling backprop bug