fix some unused paramter warnings