Fix E_NOTICEs