remove mad dependency