Fixed minor bug with stop and clear=True