fixed glut issue