fixed problem with plugin