fix id's in id's in shared endpoint templates