Fix typo and improve formatting