fix library (NameEnum, Injection[getProvider], Events)