fixed code accorging to change in glu