record bug fixed