auto generated id

bug fixing