fixed some typing errors in comments