changed formate of avoid wall state controller.