Fixed bad duping bug.