fixing quote char in sql