Fix bug in VB code snippets