fixes brackets