fixed issue with last item display in list