format was not stored correctly in preference