fixed type error, added license file