fixing style and mispellings