fix warning in ride controller