fix duplicate define file