-fixed a minor bug