small gl bug fix