Remove auto scripts
fix compile error