close debug mode and modify strategy