correct spelling in comments and general improvement in comments