fix editor brace insert postion