forgot to include another fix for generate key dialog