Fix typo: formated => formatted