remove unused params warnings