remove repeated warnings