lua wrapper is totaly fixed