fix build warns