attach the id at the end of pkg