remove options from sessionoptions