fixing things up for vs2013