spelling errors and cleanup