fixed cudaprep