Bug fix

Found a bug on DoppelGanger function.