lscript method - bug fix