optimized unquote