changed some defaults writing