fixes #60: corrected traceback when using