Fixed a bug in create milestone.