Fixed a bug and updated version file