Fixed warnings.
Fixed misprint.