resolve enum exceptions of glbinding