fixed wms link in metadata view mode