details bug fix