fix return when license is not found