getting rid of isComponent from fact schema fn