fixed bug with handling undefined vs empty string issuer