Fix: fix bugs when no method available with plugin