first bugfix in convert.py