settings now saved properly