Resolve variables recursively - fix license