minor bug was fixed