Fixed possibly E_NOTICE