beamer fixes