fixing multipleDefine in AMD