loop redirect to license