Fixed some plugin stuff