I have fixed the headings problem in osis2mod where the heading from the next chapter was in the current chapter. I also turned off some debug statements. Please give it a try. Let me know if you need my pre-compiled Linux version. And let me know if you encounter any other problems. In Him, DM