fix duplicate define