handling single quotes better