Change loaded plugin name and fix a small error