check last, not tail