lain: fix issue #17