fix bad variable sub
remove basefiles licenses