fix error declaration license