set production ignore notice and warning errors