fix 2 build warnings