Fixed the details when selected an instance