fix build
fix warnings