Fixed a minor bug.