replace brakets by dots