Fix passing model name to params.