fix for SECRET_KEY generator