fix unused argument warnings