fix some recently introduced warnings