This script leaves these small lines when orders are closed. Please modify it so that these small lines not form.