fix build warnings

fix for build warnings