Fix last item number

Fix #79