Fixed a plugin bug.