The random way to generate id was not so random ;)