review the code. fix some spelling issue