setting dx in setopts