fixed a few generation errors; still working on search