KSM[fix]:referencies in plugins methods