stopped settings from crashing, still working on saving