add compile transform for lager