some adjustmenet to GLWidget