compatibility with newer version of poet