fixes for convolutional networks (but still they are not ready yet)