remove Nth from end