directive match fix