change menu selection, preproc and matching parantheses