Fixed plugin init