apply fmt