fixed font warnings in beamer