fixed minor bug.