remove beamer format