output fix and configuration file resample