debug before video record
fix conflict