fixed a minor bug in which