fixing use of formatter