remove lines. add global re-attach