fixed a minor bug.