Preventing doublon id