refactor Recorder configuration, close #758