fixed plugin stuff