fix minor pooling layer def bug