handle "standard" custom pages (fix #405)