Fixed plugin error