remove some duplicate define