Fixed a doubling issue.