writing and debug mininode lua bind