debugged i in gl_collection