added prerendering to next links