added verisoning support, fixed auto close error