VS2013
fixed reported possible null ref ex