removal of old egl stuff