correct the recording directory