Fix Some compiler warnings