fix completion for records with quotes