fix the custom record will check expired bug