added clSoftCheckError