Fix complier warnings