make it build with beamer