fix no record bug