fixed bugs in ltalk.py