added fix and hotfix for bggraphics