fixed a bug;