double to single quotes where possible