fix license declaration & type