Correct a bunch a syntatic mistakes