fixed a bug in fragments html template of discovery service