fixing some notices