Fix exception in listPlugin.