Cleaned up some cpiler warnings