fix VS code analysis issues