fixed bug in secret_token
fixed bug in secret_token