corrected small bug.