Cleaned up previous bugfixes.
Fixed typo.