some fixes for the convolutional networks