Go back n seems to be working
Removed a bug about extra lines being copied