trim sessionoptions, add more ignores