fix quoting replacement