add public_id to pdt, change length of pdt name, filename