fix record crashed where screen off