fix schema gen filter