Fixing GLAO mode and clean up.
minor fix