fix build warngings.