fix docstring display on repeated tab