fix gl functions get