add exception for lib curand