fix the detail show bug