Fix bug on contactIterator