a minor bug fixed