fix quote func