fixed options parser issues in tormap.py.