optimize ros settings