Fix a bug and add the usage.