fix mode alist for glsl mode