work with var lct
fixed #16, fixed #18
cosmetic