fixed last item bug / now throws quote error