modify GLFramework