adapt for easy-serve 0.8 api changes