fix main file, opengl stull