bug fix for details panel