try to fix build warnings