adapt to love 0.9.0 api