automatic VIA detection and other issues