correct the vs2012 max length