fix the details page