Warning fix for passwordgen