Fixed a few minor glitches.

Fixed a few minor glitches.