fixed display of detail pages