fix view-snippet page