fixed some opencl errors