Check VS folder is now functioning properly

Fixed potential null reference exception