fix control script
fix erb file error