Remove deprecation warnings due to broadcasting difference.
Fix typo.