fixed source record bug