fixing the E_fatal