enable keywords for patch middleware