fix single quotes escape