fix alias id in shared endpoint template