code format & switch to VS2012