changing pattern to term in parameter category controller