fix the cudaconvnet model loading code