Fixed a bug and repackage.