fix error messages when a VC section isn't what's expected

thanks gshank!