Fix a bug about setting a reference ID
Update a patch version