restrict formatter