fixing worksfor schema