add setoption trace