remove unnecessary curlys