remove old cm hostname if existing