fixed bug in loadResource
fixed opencl source file string