fix double brackets everywhere