error in removing results file in the scratch directory is resolved, so now it works OK