fix bug with closing parens and comment out rarely used modes