replacing auto-generated page