patch to remove some notices