fix spelling mistakes, small cleanups