some fixes for new vccrun