refactor lovekit.all