Controling ids being int