fix plugin id comparison