bug fixed for recorder