fixed logfatal