Fixed arrayindexoutofbounds exception with plugin
Fixed problem with plugin throwing exception