fix bookconv.py