formatted dto & set unique id