license applied, fixed a bug for versioning