fix for preprocessing in readonly mode