fix to license attaching