fix unused-parameter warnings