add toLine~ patch