small fix merged from master ogl