added a workaround for AMD OpenCL bug with comma as decimal point