Fixed a bug;