fixed bug: line wasnt be cleared in output coordinatesystem