fix autoclosing of backticks and parens