add lua mode
yas root dir
dubug on err