move LIcenses: inside of check