small changes for glview_controler