fixed some typos and formatting prettier