details panel bug fix