avoid multiple call on enableRecording