making options save properly