Fix bug in last five tail