fixed an error in the secret token code.