Fixed single quotes in sql insert statements