fix default field values in flash