fixed bug when quotes would not reset when end of list is reached