Fix a bug to expect integer for the parameters