a more stable pattern for plugin