fix an error with the path of the temp reading file