build in the get_unique_id and delete some errors