remove some warnings

removes some warnings when compiling with vs2013