Fixed weird plugin errors with HotSwap