fix id and secret, also a parameter problem