convert ln to ${LN}