Fix typos and pass linting