rename param id to fact-id