Fix bug with Params