fixing details page issues