minor bug, corrected