replace auto-generated page