quote code retrieve fix