FIX: to depress issue #1298 in the mnist example