Fix bug in referencing wrong formatter