bug fix for Glex3