fix language warnings