fix the order of parameters as in the order they are documented in the code