bug fix: a manually set format_mask will now correctly override the default format_mask