changes the options format