remove some gcc warnings