fix all warning in vs2008