fixing instance detail template