quotes are now correctly encoded