license detection is moved to ::License