fix a defect that id is not passed in for addForm action