made end actually jump to the last line