fixes in get_quotes