fix ad record bug