Fixed a retarded bug