semantic fixes.

Fixed.