fixing plugin stuff