Fixing secret_token generator