fixed a random crash while waiting for a docstring