fixed handling of show certname