fix for stupid genLep bug