plugin id fix, debug logging changes