add license
some fixed