remove ming references