modify the invalidating use case so that we can have it only
render when we have something that we want to display- calling
invalidate when there is nothing there causes a problem
adding vs 2013 hack as recommended