Fixed commit overwrite issue.