a few code warnings