Settings can now be saved and read with out errors.