bugfix for cert verification option