a bug fix for self-testing draw_lens.py